//
//  Stationery.m
//  OC作业
//
//  Created by dllo on 15/12/2.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "Stationery.h"

@implementation Stationery



- (instancetype)initWithName:(NSString *)name
                       style:(NSString *)style{
    self = [super init];
    if (self) {
        _name = name;
        _style = style;
    }
    return self;
}
+ (instancetype)stationeryWithName:(NSString *)name
                             style:(NSString *)style{
    
    Stationery *stationery = [[Stationery alloc]initWithName:name style:style];
    return stationery;
}



@end
